import 'package:hc_bio_sdk/model/rr.dart';

import 'hc_bio_sdk_platform_interface.dart';

class HcBioSdk {
  Future<String?> getPlatformVersion() {
    return HcBioSdkPlatform.instance.getPlatformVersion();
  }

  Future append(RRModel rr) {
    return HcBioSdkPlatform.instance.append(rr);
  }

  Future initialize(String channelCode) {
    return HcBioSdkPlatform.instance.initialize(channelCode);
  }

  Future login({required String userID}) {
    return HcBioSdkPlatform.instance.login(userID: userID);
  }

  Stream get dataStream => HcBioSdkPlatform.instance.dataStream.stream;
}
